﻿using System.ComponentModel.DataAnnotations;

namespace YXY.Identity.Service.InputModel
{
    public class PagerInfo
    {
        /// <summary>
        /// 获取或设置当前页码
        /// </summary>
        [Required]
        public int CurrentPageIndex { get; set; } = 1;

        /// <summary>
        /// 获取或设置每页显示的记录
        /// </summary>
        [Required]
        public int PageSize { get; set; } = 10;
    }
}
